package com.atguigu.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Test {
    @RequestMapping("/view")
    public String index() {
        return "test_view";
    }

    @RequestMapping("/rest")
    public String param() {
        return "test_rest";
    }
}
